
<div class="<?php echo $config['class']?> list Box">
	<h3>
		<span class="<?php echo $config['pic']?>"><?php echo $config['title']?></span>
		<?php echo $this->Html->link('更多&gt;&gt;',citylink('Tickets','index',false,false)+array('cate'=>$config['cate']),array('escape'=>false))?>
	</h3>
	<div class="clear"></div>
	<ul class="listImg">
	<?php if(isset($config['data'][$config['cate']])):?>
	<?php $data = $config['data'][$config['cate']];?>
	<?php foreach (array_splice($data,0,3) as $ticket):?>
		<li>
			<?php 
				if(isset($ticket['ListPhoto']['file_path']))
					$pic = $ticket['ListPhoto']['file_path'];
				else 
					$pic = 'default/himg_19.jpg';
			?>
			<?php $image =  $this->Html->image($pic,array(
					'alt'=>$ticket['Ticket']['title'],
					'title'=>$ticket['Ticket']['title']
				  ));
			?>
			<?php echo $this->Html->link($image,
						TicketView($ticket),
						array("escape"=>false,'title'=>$ticket['Ticket']['title'])
				  )
			?>
			<?php echo $this->Html->link($ticket['Ticket']['title'],
						TicketView($ticket),
						array("class"=>"mcheng",'title'=>$ticket['Ticket']['title'])
				  )
			?>
            <p class="sj">时间：<?php echo $ticket['Ticket']['showtime']?></p>
            <p class="cg">场馆：<?php echo $this->Html->link($ticket['Venue']['title_cn'],
            		citylink('Venues','view')+array($ticket['Venue']['id']),
            		array('title'=>$ticket['Venue']['title_cn']));
            ?></p>
        </li>
      <?php endforeach;?>
      <?php endif;?>
     </ul>
     <ul class="listNews">
     <?php if(isset($config['data'][$config['cate']])):?>
     <?php $data = $config['data'][$config['cate']];?>
     <?php $i = 0;foreach (array_splice($data,3,7) as $ticket): $i++;?>
		<li <?php echo $i%2==0?'class="dise"':''?>>
			<?php echo $this->Html->link($ticket['Ticket']['title'],
						TicketView($ticket),
						array("class"=>"bt",'title'=>$ticket['Ticket']['title'])
				  )
			?>
            <p class="sj">时间：<?php echo $ticket['Ticket']['showtime'];
            						if($ticket['Ticket']['endtime'] != '')
                        			echo ' 至 '.$ticket['Ticket']['endtime'];
            				   ?>
            </p>
			<p class="cg">场馆：<?php echo $this->Html->link($ticket['Venue']['title_cn'],
            		citylink('Venues','view')+array($ticket['Venue']['id']),
            		array('title'=>$ticket['Venue']['title_cn']));
            ?></p>
		</li>
	<?php endforeach;?>
	<?php endif;?>
	</ul>
	<div class="clear"></div>
</div>